package com.ruicar.afs.cloud.afscase.approvemakelabel.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;


/**
 * @author jiaqi.guo
 * @version 1.0
 * @created 2020/5/19 11:39
 */
@Data
@ApiModel(value = "手动标签库管理功能")
@TableName("approve_label_info")
public class ApproveMakeLabel extends BaseEntity<ApproveMakeLabel> {
    private static final long serialVersionUID = 1L;

    /**
     * 申请编号
     */
    private String applyNo;
    /**
     * 标签id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long labelId;
    /**
     * 标签方式;手动/自动
     */
    private String labelPattern;
    /**
     * 标签名称
     */
    private String labelName;
    /**
     * 标签阶段;信审/放款/质检
     */
    private String labelPhase;
    /**
     * 标签颜色
     */
    private String labelColor;
    /**
     * 标签类型;对内/对外
     */
    private String labelType;
    /**
     * 标签位置;贷前分析页面/任务池
     */
    private String labelLocation;
    /**
     * 标签分类;业务分类标签、批量提醒标签
     */
    private String labelClassification;
    /**
     * 标签排序
     */
    private Integer labelSort;

    /**
     * 是否归档 0-yes,1-no
     */
    private String isArchive;


}
